package com.ws.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.ws.bean.Customer;
import com.ws.util.Page;

@Mapper
public interface CustomerDao {

	List<Customer> getCustomer(@Param("customer") Customer customer,@Param("page") Page page);

	int getCount(@Param("customer") Customer customer);

	int delCustomer(Integer id);

	int editCustomer(@Param("customer") Customer customer);

	int addCustomer(@Param("customer") Customer customer);

}
